package fejezet20;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;                               //1
import javax.swing.JApplet;

public class HellóVilágApplet2 extends JApplet {

  @Override
  public void paint(Graphics g) {                       //2
    g.setFont(new Font("Arial", Font.BOLD, 20));        //3
    g.setColor(Color.RED);                              //4
    g.drawString("Helló világ!", 100, 50);              //5
  }
}
